<#include "../../page.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th>类别</th>
        <th>部门</th>

        <th id="rj">2017实际</th>
        <th id="rj">2016实际</th>
        <th id="rj">2017预算</th>
        <th >操作</th>
        <th id="rj"></th>
        <th id="rj"></th>
        <th id="rj"></th>
        <th id="rj"></th>
        <th id="rj"></th>
        <th id="rj"></th>
        <th id="rj"></th>
        <th id="rj"></th>
        <th id="rj"></th>


    </tr>
    </thead>
    <tbody>
    <#if cwHbsTable.rows??>
        <#list cwHbsTable.rows as cwHb>
        <tr>

            <td width="150px">${cwHb.DType!''}</td>
            <td width="150px">${cwHb.ZType!''}</td>

                <#if (cwHb.spareA > cwHb.spareC)>
                    <td id="rj" bgcolor="red" width="100px">${cwHb.spareA!''}</td>
                <#else>
                    <td id="rj" width="100px">${cwHb.spareA!''}</td>
                </#if>

            <td id="rj" width="100px">${cwHb.spareB!''}</td>
            <td id="rj" width="100px">${cwHb.spareC!''}</td>
            <td>
                <a class="btn btn-orange btn-radio nopadding" onclick="return doRjMx('${cwHb.DType!''}','${cwHb.ZType!''}','${cwHbParams.month!''}');" title="查看"><i class="fa fa-file-text"></i></a>
            </td>
            <td id="rj"></td>
            <td id="rj"></td>
            <td id="rj"></td>
            <td id="rj"></td>
            <td id="rj"></td>
            <td id="rj"></td>
            <td id="rj"></td>
            <td id="rj"></td>
            <td id="rj"></td>

        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if cwHbsTable??>
    <@page table=cwHbsTable formId="search_cwHb_table"/>
</#if>

<style>
    #rj {
        text-align: right
    }
</style>